package moodish.client;

import static org.junit.Assert.assertNotNull;

import java.util.Date;

import javax.swing.ImageIcon;

import org.junit.Before;
import org.junit.Test;


public class TalkTest {
	
	private Talk talk;
	private Date data;
	private String name;
	private ImageIcon image;
	
	
	@Before
	public void startTalk() {
		talk = new Talk();
		data = new Date();
		name = "Carlos";
		image = new ImageIcon();
	}
	
	/**
	 * Test to verify if Talk was successfully created.  
	 */
	@Test
	public void testTalk() {
		assertNotNull(talk);
	}
	

	/**
	 * Test to verify add a Mood Message.	  
	 */
	@Test
	public void testAddMoodMessage() {
		talk.addMoodMessage(data, name, "image");
	}
}
